<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>头像显示</title>
		<style>
			#user{
				border: 2px solid;
				width: 301px;
				height: 301px;
				background-image:url(image/04mitao.png);
				border-radius:150px ;/*圆角,像素超过半径的一半*/
				
			}
		</style>
	</head>
	<body>
		<h2>用css3对div实现圆角，并实现圆</h2>
		<div id="user"></div>
	</body>
</html>
